Skip to content

Expand unnecessary_literal_bound to literal arrays and slices#13655

Closed
GnomedDev wants to merge 2 commits into
rust-lang:masterfrom
GnomedDev:unnecessary-literal-bound-array
Closed

Expand unnecessary_literal_bound to literal arrays and slices#13655
GnomedDev wants to merge 2 commits into
rust-lang:masterfrom
GnomedDev:unnecessary-literal-bound-array

Conversation

@GnomedDev
Copy link
Copy Markdown
Contributor

Draft as based on #13557.

changelog: [unnecessary_literal_bound] Now lints for returning statically promoted arrays and slices, not just literal strings

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Nov 5, 2024

r? @Jarcho

rustbot has assigned @Jarcho.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Nov 5, 2024
@Jarcho
Copy link
Copy Markdown
Contributor

Jarcho commented Nov 15, 2024

@GnomedDev is this still a draft now that #13557 is merged?

@GnomedDev
Copy link
Copy Markdown
Contributor Author

@Jarcho that PR is not merged?

@Jarcho
Copy link
Copy Markdown
Contributor

Jarcho commented Nov 15, 2024

Sorry, almost merged. Is it just waiting on that?

@GnomedDev
Copy link
Copy Markdown
Contributor Author

I would have agreed with "almost merged" a month ago, but it looks like it will be lost to the sands of time now. Anyway, yes it just waiting on that, then some PR review.

@Jarcho
Copy link
Copy Markdown
Contributor

Jarcho commented Nov 15, 2024

Feel free to ping the reviewer in cases like that (I just did it in that PR). Notifications don't do a good job of notifying when something is pushed to the PR.

@bors
Copy link
Copy Markdown
Contributor

bors commented Dec 5, 2024

☔ The latest upstream changes (presumably f83a227) made this pull request unmergeable. Please resolve the merge conflicts.

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Mar 31, 2025

☔ The latest upstream changes (possibly d28d234) made this pull request unmergeable. Please resolve the merge conflicts.

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status) and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties labels Mar 31, 2025
@Jarcho
Copy link
Copy Markdown
Contributor

Jarcho commented Sep 17, 2025

Closing since #13557 was closed.

@Jarcho Jarcho closed this Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants